import request from '@/utils/request'

// 查询用户档案详情
export function getUserArchives(data) {
  return request({
    url: '/archives/archives/'+data.id,
    method: 'get'
  })
}

// 查询用户档案列表
export function getUserArchivesList(params) {
  return request({
    url: '/archives/archives/list',
    method: 'get',
    params
  })
}

// 新增用户档案
export function addUserArchives(data) {
  return request({
    url: '/archives/archives',
    method: 'post',
    data
  })
}

// 修改学生档案
export function editJxstudentArchives(data) {
  return request({
    url: '/archives/stArchives',
    method: 'put',
    data
  })
}


